<?php

class Db_Tables2_Log1
{
	function __construct() {
		$this->maozhua_wb = Zend_Registry::get("maozhua_wb");
	}
	
	function AddLog($contents)
	{
		$data = array(
			"contents" => $contents,
			"ctime" => date("Y-m-d H:i:s")
		);
		
		$this->maozhua_wb->insert("log1", $data);
		
		return TRUE;
	}
}